home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / data1.cab / _24AB799A146C449180BE3CAE92599BB0 < prev    next >
Encoding:
Text File  |  2006-08-04  |  627 b   |  26 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'',
  6.         'Copyright': u'',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 10',
  9.         'Host Version': u'10.00 Alpha 20050608.10'
  10.         }
  11.  
  12. def Preset_Crop():
  13.     return {
  14.         'CropRect': ((0,0), 800, 1200), 
  15.         'Mode': App.Constants.CropMode.Custom, 
  16.         'Units': App.Constants.CropUnits.Inches, 
  17.         'SelectedArea': False, 
  18.         'PrintWidth': -1, 
  19.         'PrintHeight': -1
  20.         }
  21.  
  22. def Do(Environment):
  23.     # Crop_LOCALIZED
  24.     App.Do( Environment, 'Crop',         Preset_Crop())
  25.  
  26.